<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="renderer" content="webkit|ie-comp|ie-stand">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <title>龙腾科技</title>
</head>

<body>
  <div id="app" v-loading.fullscreen.lock="loading">
    <div class="login">
      <div class="login-content">
        <login-form @login-success="loginSuccess"></login-form>
      </div>
    </div>
  </div>
</body>

<script src="https://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>
<script src="../myJs/importFile.js"></script>
<script>
  importFile([
    "./css/loginForm.css"
  ], [
    "/vueSystem/i18n/index.js",
    "/vueSystem/js/checkVaildUtil.js",
    "/vueSystem/components/countdownButton.js"
  ]);

</script>
<script src="./js/loginForm.js"></script>

<script>
  var app = new Vue({
    el: "#app",

    data: function () {
      return {
        loading: false,
        basePath: SysUtil.getBasePath()
      };
    },

    methods: {
      loginSuccess: function () {
        window.location.href = this.basePath + "/datav/index.html?autoLogin=autoLogin";
      }
    },

    components: {
      LoginForm: LoginForm
    }
  });

</script>
<style>
  .login {
    height: 100%;
    background: #dddddd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: auto;
  }

  .login-content {
    width: 600px;
    height: 500px;
    background: #ffffff;
    margin: auto;
  }

</style>

</html>
